Function sign

pub fn sign(x: &Variant) -> Variant