Overview

Namespaces

  • esperecyan
    • webidl
      • lib

Classes

  • BooleanType
  • DictionaryType
  • FloatType
  • IntegerType
  • NullableType
  • ObjectType
  • SequenceType
  • StringType
  • Type
  • UnionType

Traits

  • Error
  • Overview
  • Namespace
  • Class
  • Tree

Class Type

esperecyan\webidl\lib\Type uses esperecyan\webidl\lib\Utility (not available)
Namespace: esperecyan\webidl\lib
Internal
Located at lib/Type.php
Methods summary
public static mixed
# to( string $type, mixed $value, array $pseudoTypes = null )

与えられた値を、指定された型に変換して返します。

与えられた値を、指定された型に変換して返します。

Parameters

$type
$value
$pseudoTypes
callback interface 型、列挙型、callback 関数型、または dictionary 型の識別子をキーとした型情報の配列。

Returns

mixed

Link

WebIDL Level 1
esperecyan/webidl documentation API documentation generated by ApiGen