public static double GetDoubleUnchecked(this HaystackDictionary dict, string name) { return(dict.GetUnchecked <HaystackNumber>(name)?.Value ?? 0); }
public static bool GetBooleanUnchecked(this HaystackDictionary dict, string name) { return(dict.GetUnchecked <HaystackBoolean>(name)?.Value ?? false); }
public static HaystackReference GetReferenceUnchecked(this HaystackDictionary dict, string name) { return(dict.GetUnchecked <HaystackReference>(name)); }
public static string GetStringUnchecked(this HaystackDictionary dict, string name) { return(dict.GetUnchecked <HaystackString>(name)?.Value); }