HasCulture(string)

Method in Cultures

Summary

Returns a boolean value indicating whether name is a valid identifier for retrieving a Culture from GetCulture(string) .

public static bool HasCulture(string name)

Parameters

Name
Description

string name

Returns

true if name is a valid Culture name; false otherwise.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.