C# Class Underscore.Utility.ObjectComponent

Inheritance: IObjectComponent
Afficher le fichier Open project: konkked/Underscore.cs Class Usage Examples

Méthodes publiques

Méthode Description
IsTruthy ( object target ) : bool

Returns true if an object is truthy, if the value is not the default value of the that type then returns true with the exception of strings which return false if empty, whitespace or null

Private Methods

Méthode Description
IsNumber ( object o ) : bool

Method Details

IsTruthy() public méthode

Returns true if an object is truthy, if the value is not the default value of the that type then returns true with the exception of strings which return false if empty, whitespace or null
public IsTruthy ( object target ) : bool
target object
Résultat bool