/// <summary> /// Checks the value is of type <c>string</c> or <c>&string</c> and gets its value. /// Single-byte strings are decoded using <c>UTF-8</c>. /// </summary> public static bool IsString(this PhpValue value, out string @string) => value.IsStringImpl(out @string);
/// <summary> /// Checks the value is of type <c>string</c> (both unicode and single-byte) or an alias to a string. /// </summary> public static bool IsString(this PhpValue value) => value.IsStringImpl();