array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'mongodb-bson-binary.getvectortype.php', 1 => 'MongoDB\\BSON\\Binary::getVectorType', 2 => 'Returns the data type for a Binary with the vector subtype', ), 'up' => array ( 0 => 'class.mongodb-bson-binary.php', 1 => 'MongoDB\\BSON\\Binary', ), 'prev' => array ( 0 => 'mongodb-bson-binary.gettype.php', 1 => 'MongoDB\\BSON\\Binary::getType', ), 'next' => array ( 0 => 'mongodb-bson-binary.jsonserialize.php', 1 => 'MongoDB\\BSON\\Binary::jsonSerialize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/binary/getvectortype.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\BSON\Binary::getVectorType

(mongodb >=2.2.0)

MongoDB\BSON\Binary::getVectorTypeReturns the data type for a Binary with the vector subtype

Description

final public MongoDB\BSON\Binary::getVectorType(): MongoDB\BSON\VectorType

Parameters

This function has no parameters.

Return Values

Returns the data type of the Binary vector.

Errors/Exceptions

See Also