import { Bit } from '../types' ; example param { Integer } int32 param { Integer } position param { Integer } value returns { Integer } export default ( int32 , position , value ) : Bit => < Bit > ( value === 1 ? int32 | ( 1 << position ) : int32 & ~ ( 1 << position ) ) ;