`if (method !== null)    {`