# GH_ScriptVariant class

Namespace: [Grasshopper.Kernel.Expressions](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.expressions.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_ScriptVariant
```

## Constructors

- [GH_ScriptVariant](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/ctor.md): (10 overloads)

## Fields

- [m_type](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/m-type.md)
- [m_value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/m-value.md)

## Properties

- [Boolean](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/boolean.md)
- [DateTime](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/datetime.md)
- [Double](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/double.md)
- [Integer](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/integer.md)
- [Object](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/object.md)
- [Plane](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/plane.md)
- [Point](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/point.md)
- [String](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/string.md)
- [Type](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/type.md)
- [Vector](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/vector.md)

## Methods

- [ThrowNullOperatorException](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/thrownulloperatorexception.md): (static)
- [ThrowOperatorException](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/throwoperatorexception.md): (4 overloads, static)
- [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/tostring.md)

## Operators

- [operator +](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-addition.md): (static)
- [operator &](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-bitwiseand.md): (static)
- [operator |](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-bitwiseor.md): (static)
- [operator op_Concatenate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-concatenate.md): (static)
- [operator /](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-division.md): (static)
- [operator ==](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-equality.md): (static)
- [operator ^](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-exclusiveor.md): (static)
- [operator op_Exponent](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-exponent.md): (static)
- [operator false](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-false.md): (static)
- [operator >](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-greaterthan.md): (static)
- [operator >=](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-greaterthanorequal.md): (static)
- [operator !=](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-inequality.md): (static)
- [operator op_IntegerDivision](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-integerdivision.md): (static)
- [operator <<](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-leftshift.md): (static)
- [operator <](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-lessthan.md): (static)
- [operator <=](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-lessthanorequal.md): (static)
- [operator %](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-modulus.md): (static)
- [operator *](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-multiply.md): (static)
- [operator ~](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-onescomplement.md): (static)
- [operator >>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-rightshift.md): (static)
- [operator -](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-subtraction.md): (static)
- [operator true](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-true.md): (static)
- [operator -](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-unarynegation.md): (static)
- [operator +](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-unaryplus.md): (static)

## Convertors

- [operator explicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-explicit.md): (8 overloads, static)
- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.expressions.gh-scriptvariant/op-implicit.md): (8 overloads, static)
